package cn.hsa.fqz.monitor.controller.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author Administrator
 * @version 1.0
 * @date 2024-02-23 15:24
 */
@Data
@ApiModel("动态sql配置VO")
public class EntityExcuteSqlVO implements Serializable {

    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty("源实体编码")
    private String sourceEntityCode;

    @ApiModelProperty("主表表名")
    private String tableName;

    @ApiModelProperty("脚本名称")
    private String sqlName;

    @ApiModelProperty("脚本语句")
    private String execSql;

    @ApiModelProperty("表头集合")
    private String titleMap;

    @ApiModelProperty("是否过滤")
    private Integer isFilter;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("是否分页")
    private Integer isPaging;

    @ApiModelProperty("目标实体编码")
    private String targetEntityCode;

    private List<EntityExcuteSqlPropertiesVO> entityExcuteSqlPropertiesVOS;
}
